package com.lanou.elh.members.entity;

public class Address {
    //地址id
    private Long addressId;
    //用户id
    private Long userId;
    //用户姓名
    private String userName;
    //用户电话
    private String tel;
    //地址名称
    private String streetName;
    //是否为默认地址
    private Integer isDefault;

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressId=" + addressId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", tel='" + tel + '\'' +
                ", streetName='" + streetName + '\'' +
                ", isDefault=" + isDefault +
                '}';
    }
}
